package com.jzo2o.customer.controller.open;

import com.jzo2o.customer.model.dto.request.InstitutionRegisterReqDTO;
import com.jzo2o.customer.service.IServeProviderService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Description ServeProviderController
 * @Author CoreryBlack
 * @Date 2024-12-02
 */
@RestController("openServeProviderController")
@RequestMapping("/open/serve-provider")
public class ServeProviderController {
    @Resource
    private IServeProviderService serveProviderService;

    @PostMapping("/institution/register")
    public void instrutionRegister(@RequestBody InstitutionRegisterReqDTO institutionRegisterReqDTO){
    serveProviderService.registerInstitution(institutionRegisterReqDTO);
    }
}
